package com.sidianzhong.sdz.mapper;

import com.sidianzhong.sdz.model.*;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WebEquipmentscancodeMapper {
    long countByExample(WebEquipmentscancodeExample example);

    int deleteByExample(WebEquipmentscancodeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WebEquipmentscancode record);

    int insertSelective(WebEquipmentscancode record);

    List<WebEquipmentscancode> selectByExample(WebEquipmentscancodeExample example);

    WebEquipmentscancode selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WebEquipmentscancode record, @Param("example") WebEquipmentscancodeExample example);

    int updateByExample(@Param("record") WebEquipmentscancode record, @Param("example") WebEquipmentscancodeExample example);

    int updateByPrimaryKeySelective(WebEquipmentscancode record);

    int updateByPrimaryKey(WebEquipmentscancode record);

    WebEquipmentscancode getBycode(String equipmentcode,Integer equipmentcodetype);
}